package com.example.studentapi.entity;

import jakarta.persistence.*;
import lombok.Data;

@Entity
@Data
@Table(name = "student_information")
public class Student {
    @Id
    @Column(name = "student_id")
    private Long studentId; // 改为Long（适配数据库int类型）

    @Column(name = "student_name")
    private String studentName;

    @Column(name = "student_gender")
    private String studentGender;

    @Column(name = "student_class")
    private String studentClass;
}